package HP.p0817;

public class GuKe {
    private String name;
    int rrr = 44;
    public void diancai(){
        FuWuyu fuWuyu = new FuWuyu();
        System.out.println("点菜:油条,鸡蛋,胡辣汤");
        fuWuyu.jiLucaiDan();
    }

    public void chiFan(){
        System.out.println("吃饭");
        fuQian();
    }

    public void fuQian(){
        System.out.println("顾客付钱!");
        FuWuyu fuWuyu  = new FuWuyu();
        fuWuyu.jieZhang();
    }
  //------------------------------------------
/*    public void test(){
        System.out.println("顾客对象"+new GuKe()); ;
    }


    public GuKe() {
        System.out.println("无参构造 - 顾客");
    }*/

/*    @Override
    public String toString() {
        return "GuKe{" +
                "顾客toStringname='" + name + '\'' +
                '}';
    }*/
}
